//
//  YCShopHeadCollectionViewCell.m
//  YCSchool
//
//  Created by Yanglixia on 16/4/30.
//  Copyright © 2016年 yanglinxia. All rights reserved.
//  商城顶部collectionView的cell

#import "YCShopHeadCollectionViewCell.h"

@interface YCShopHeadCollectionViewCell()

//@property (nonatomic ,strong) UIImageView *imageView;

@end

@implementation YCShopHeadCollectionViewCell


- (instancetype)initWithFrame:(CGRect)frame
{
    if(self = [super initWithFrame:frame])
    {
        _imageView = [[UIImageView alloc] initWithFrame:self.contentView.bounds];
        _imageView.userInteractionEnabled = YES;
        _imageView.contentMode = UIViewContentModeScaleAspectFill;
        _imageView.autoresizingMask = UIViewAutoresizingFlexibleWidth | UIViewAutoresizingFlexibleHeight;
        _imageView.layer.masksToBounds = YES;
        [self.contentView addSubview:_imageView];
    }
    return self;
}


@end
